package querylog.dao;

import static org.junit.Assert.*;

import java.sql.SQLException;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

import querylog.bean.LogBody;

public class LogDAOImplTest {

	@Before
	public void setUp() throws Exception {
	}

	@After
	public void tearDown() throws Exception {
	}

	@Test
	public void testGetLogbody() {
		LogDAO log = new LogDAOImpl();
		LogBody logbody=null;
		try {
			logbody = log.getLogbody("TLE20040410101751910");
		} catch (SQLException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		System.out.println(logbody);
	}

}
